package com.xbb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbb.entity.Role;
import com.xbb.entity.Rolemodules;
import com.xbb.entity.User;

import javax.validation.Valid;
import java.util.List;

public interface RoleService extends IService<Role> {
    List<Role> getRoleName(@Valid Role role);


    List<Rolemodules> getRolesContainsMod(Integer id);


}
